//
//  BaseModel.m
//  UI23_QQMusic
//
//  Created by dllo on 16/8/15.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import "BaseModel.h"

@implementation BaseModel

- (instancetype)initWithDict:(NSDictionary *)dict {
    
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+ (BaseModel *)modelWithDict:(NSDictionary *)dict {
    
    return [[self alloc] initWithDict:dict];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    
}

- (id)valueForUndefinedKey:(NSString *)key {
    
    return nil;
}

@end
